package com.ryqg.jiaofu.config.mybatis.handler;

import com.ryqg.jiaofu.common.OperationType;
import com.ryqg.jiaofu.config.mybatis.LabelValueTypeHandler;
import org.apache.ibatis.type.JdbcType;
import org.apache.ibatis.type.MappedJdbcTypes;
import org.apache.ibatis.type.MappedTypes;

@MappedTypes(value = {OperationType.class})
@MappedJdbcTypes(value = {JdbcType.INTEGER, JdbcType.TINYINT, JdbcType.SMALLINT})

public class OperationEnumTypeHandler extends LabelValueTypeHandler<OperationType> {

    public OperationEnumTypeHandler() {
        super(OperationType.class);
    }
}
